#include<stdio.h>
void unknown (int w) 
{
	int  i;  
	if ( w ) 
	{
		unknown ( w-1 );
		for ( i = 1;  i <= w;  i++ ) 
			printf("%d",w);
		printf("\n"); 
	} 
}
int main()
{
	unknown(4);
	return 0; 
}
